import { BasePageResp, BaseParam, UserInfo } from "../base";

export interface Comment extends BaseParam, UserInfo {
  id: number;
  picArr?: string[];
  agreeCount: number;
  agree: boolean;
  userId: number;
  pId: number;
  ancestor: number;
  subComments?: Comment[];
}

export interface CommentResp extends BasePageResp {
  records: Comment[];
}